From: LLVM Packaging Team Date: Mon, 31 Jul 2023 20:16:10 +0000 (+0100) Subject: lldb-swig-2 X-Git-Tag: archive/raspbian/1%13.0.1-13+rpi1^2~9 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=e55da3f5d82af5e5b9d5ac8d29da7e4d6adfead5;p=llvm-toolchain-13.git lldb-swig-2 =================================================================== Gbp-Pq: Topic lldb Gbp-Pq: Name lldb-swig-2.diff --- diff --git a/lldb/bindings/python/python-typemaps.swig b/lldb/bindings/python/python-typemaps.swig index b1ace4ff3b..5f8f4aa678 100644 --- a/lldb/bindings/python/python-typemaps.swig +++ b/lldb/bindings/python/python-typemaps.swig @@ -439,7 +439,7 @@ bool SetNumberFromPyObject(double &number, PyObject *obj) { %typemap(out) lldb::FileSP { $result = nullptr; - lldb::FileSP &sp = $1; + const lldb::FileSP &sp = $1; if (sp) { PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp)); if (!pyfile.IsValid())